@import '~antd/lib/style/themes/default.less';

.wncontainer {
    background-color: #fff;
    padding: 16px 30px;
    border-radius: 4px;

    .title {
        margin-bottom: 24px;
        padding-bottom: 16px;
        font-size: 14px;
        border-bottom: 1px solid #e8e8e8;

        span.spanMr {
            margin-right: 10px;
        }

        .noticetitle {
            font-size: 22px;
            font-weight: 500;
            color: #333;
            line-height: 46px;
            margin-bottom: 0;
        }

        .noticeFrom {
            font-size: 14px;
            font-weight: 400;
            color: #999;
            line-height: 20px;
        }
    }

    :global {
        .ant-calendar-picker {
            width: 100% !important;
        }

        .ant-form-item {
            margin-bottom: 24px;
        }

        .ant-form-item-with-help {
            margin-bottom: 10px;
        }

        .image-wrap {
            img {
                max-width: 100%;
            }
        }

        .bf-container .public-DraftEditor-content {
            padding: 0;
        }

        .braft-output-content {
            p {
                margin-bottom: 0;
                min-height: 30px;
                line-height: 30px;
                white-space: pre-wrap !important;
                word-wrap: break-word !important;
            }
        }
    }
}

.noticeImg {
    max-width: 420px;
    margin-bottom: 20px;
}

.noticeText {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0.65);
    line-height: 40px;
    white-space: pre-wrap;
    word-wrap: break-word;

    :global {
        .bf-content {
            height: auto;
        }

        .bf-controlbar {
            display: none;
        }
    }

    &::before,
    &::after {
        display: none;
    }
}

.noticeTextAdd {
    :global {
        .bf-content {
            // height: 2000px;
        }
    }
}

.wnAva {
    width: 50px;
    height: 50px;
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    overflow: hidden;

    img {
        height: 100%;
        vertical-align: top;
    }
}

.noticeHtml {
    * {
        font-size: 14px;
        font-weight: 400;
        color: rgba(0, 0, 0.45);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    pre {
        font-weight: 400;
        font-size: 14px !important;
        color: rgba(0, 0, 0.45) !important;
    }

    p {
        margin-bottom: 0;
    }

    pre {
        white-space: normal;
        overflow: hidden;
    }
}

:global {
    .bf-bottom-text {
        display: none !important;
    }
}

.noticecard {
    :global {
        // .ant-card-head {
        //     padding: 0 0 0 30px;
        // }
        .ant-card-body {
            padding: 8px;
        }
    }
}

.noticeQuery {
    :global {
        .form-box {
            margin-bottom: 0 !important;
            padding: 0 0 0 !important;
        }
    }
}

.paddingBraftEditor {
    :global {
        .bf-content {
            padding: 10px;
        }
    }
}

.fileTxt {
    color: #999;
}
